package com.example.batch.enums;

public enum DataStatusEnum {

    unUpdated(-2, "未更新"),
    created(0, "新建"),
    updated(1, "已更新"),
    removed(-1, "删除"),
    ;

    private Integer code;

    private String value;

    DataStatusEnum(Integer code, String value) {
        this.code = code;
        this.value = value;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getValue() {
        return value;
    }

    public void setValue(String value) {
        this.value = value;
    }
}
